package com.share.tool.devops.service;

import com.share.tool.devops.model.po.SerRegister;

import java.util.List;

public interface SerRegisterService {
    Object init();

    boolean registerAndClearHistory(String ip, String contextPath, String port, String serviceName);

    List<SerRegister> listService(String serviceName, String port, String contextPath);

    int updateVersion(long version, String ip, String port, String serviceName, String contextPath);
}
